*** tcp close for sock 72, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	10.2.2022 	03:06:15 	lx 	(5. palvelin)

closing socket '72'. 	10.2.2022 	03:06:15 	lx 	(5. palvelin)

*** tcp close for sock 73, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	10.2.2022 	03:06:15 	lx 	(5. palvelin)

closing socket '73'. 	10.2.2022 	03:06:15 	lx 	(5. palvelin)

 -- Server statistics --
answerCount:          0
poll.fd_count:        0
pollCount:            4439480
pollInCount:          0
pollOutCount:         0
pollCloseCount:       0
pollErrCount:         0
fd add/remove count:  2/2
totalBytesReceived:   0
totalBytesSent:       0. 	10.2.2022 	03:06:15 	lx 	(5. palvelin)

--- server stopped ---. 	10.2.2022 	03:06:15 	lx 	(5. palvelin)

finalizer: free p1 	 cdata<void *>: 0x01163c8ed0. 	10.2.2022 	03:06:15 	lx 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	10.2.2022 	10:37:33 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	10:37:33 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	10:37:33 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	10.2.2022 	10:37:33 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	10.2.2022 	10:37:33 	lx 	(1. Application process)

  database connect time: 0.0004 seconds. 	10.2.2022 	10:37:33 	lx 	(1. Application process)

* connect: connection changed to 'postgre-demo/fi_demo'. 	10.2.2022 	10:37:33 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	10.2.2022 	10:37:33 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	10:37:33 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	10:37:33 	lx 	(1. Application process)

* preference 'system/nc_server_start.json' was loaded from database 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	10.2.2022 	10:37:33 	lx 	(1. Application process)

Käynnisteään Tcp palvelin 2. 	10.2.2022 	10:37:34 	_lx_SERVER 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

  database connect time: 0.0002 seconds. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

* connect: connection changed to 'postgre-demo/fi_demo'. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x012f22cdd0, size: 400. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

********************* /Users/pasi/nc/nc-server/ *********************. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

1. Loading plugin: nc/worker/auth_worker. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

2. Loading plugin: nc/worker/query_worker. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

3. Loading plugin: nc/worker/query4d_worker. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

4. Loading plugin: nc/worker/call4d_worker. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

All plugins have been loaded. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

* cached preference files: demo-fi_demo-0 - system/option.json, demo-fi_demo-0 - table/prf/field_type.json, demo-fi_demo-0 - system/4d.json, demo-fi_demo-0 - system/path.json. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

Mac address: f84d896921dc. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

NC tcp server waiting on:  http://127.0.0.1:5949/,  http://192.168.32.2:5949/
                          https://127.0.0.1:5949/, https://192.168.32.2:5949/. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

NC udp server waiting on: 127.0.0.1:5949/, 192.168.32.2:5949/. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

--- server started in 0.0036 seconds, 2022-02-10 10:37:35, used memory 3218.1 kb --- 	 5. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	10.2.2022 	10:37:35 	lx 	(5. palvelin)

1. uri: HTTP, POST '/rest/nc/query/sql4d' 2022-02-10 10:38:03
'POST /rest/nc/query/sql4d HTTP/1.1
Content-Type: application/json
Connection: keep-alive
User-Agent: nc-rest-sql
Authorization: Basic ???
Content-Encoding: lz4
Accept-Encoding: lz4
Content-Length: 863
Content-Uncompressed-Length: 1460

LZ4. 	10.2.2022 	10:38:03 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	10.2.2022 	10:38:03 	lx 	(5. palvelin)

    Connected to: 'Manageri v12 plg4d local, , database: plg4d, user: manage_demo'. 	10.2.2022 	10:38:03 	lx 	(5. palvelin)

  database connect time: 0.0000 seconds. 	10.2.2022 	10:38:03 	lx 	(5. palvelin)

* connect: connection changed from 'postgre-demo/fi_demo' to 'plg4d/plg4d'. 	10.2.2022 	10:38:03 	lx 	(5. palvelin)

 1. answer time: 00:00:00.00274
  
SELECT co.company_id, co.name, co.company_number, co.address, co.post_code, co.post_office, co.send_type, co.way_of_delivery, co.info, co.creation_date, co.last_modification_date, co.transfer_id, co.record_id
 FROM company co
 WHERE co.record_id IS NOT NULL
 LIMIT 2000. 	10.2.2022 	10:38:03 	lx 	(5. palvelin)

 -- tcp answer 1, send count: 4, loop count: 3, bytes sent 263267 / 263267, 0 remaining, total send time 25 µs. 	10.2.2022 	10:38:03 	lx 	(5. palvelin)

Sql field error, field 1 is not same as table / fields: 5 / vo.date_,vo.type_,vo.state,vor.voucher_id,vor.row_number,vor.account_id,ac.name,vor.debet,vor.kredit,vo.reference,vor.explanation,vo.info,vor.invoice_id,vor.invoice_payment_id,vor.accounts_payable_id,vor.accounts_payable_paym_id,vor.firm_id,vor.info,vor.change_id,vor.record_id, sql:
	SELECT vo.date_, vo.type_, vo.state, vor.voucher_id, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id
 FROM voucher_row vor
 LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id
 LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id
 WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-12' AND vo.date_ <= '2021-03-31'
 ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number
 INTO :_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_atExe1,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13
 	10.2.2022 	10:38:09 	_lx_ExecuteSqlNew 	(5. palvelin)

SELECT vor.record_id FROM voucher_row vor WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-12' AND vo.date_ <= '2021-03-31' INTO :_lx_atExe1
 - original query: SELECT vo.date_, vo.type_, vo.state, vor.voucher_id, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id FROM voucher_row vor  LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id  LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id  WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-12' AND vo.date_ <= '2021-03-31'  ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number  INTO :_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_atExe1,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13
 - result _lx_atExe1 size: 0
 - query name: new:form/nc/nc-bank/query-voucher_row.json. 	10.2.2022 	10:38:09 	_lx_ExecuteSqlNew 	(5. palvelin)

sql: Error 0, Table 'VO' is not declared in the FROM clause. (SQLS 1103)
Failed to validate column 'DATE_'. (SQLS 1717)
Failed to validate COMPARISON predicate. (SQLS 1708)
Failed to validate WHERE clause. (SQLS 1705)
Failed to validate SELECT command. (SQLS 1726)
Table 'VO' is not declared in the FROM clause.Failed to validate SELECT command. (SQLS 1103)

SELECT vor.record_id FROM voucher_row vor WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-12' AND vo.date_ <= '2021-03-31' INTO :_lx_atExe1
 - original query: SELECT vo.date_, vo.type_, vo.state, vor.voucher_id, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id FROM voucher_row vor
 LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id
 LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id
 WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-12' AND vo.date_ <= '2021-03-31'
 ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number
 INTO :_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_atExe1,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13
'
SELECT vor.record_id FROM voucher_row vor WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-12' AND vo.date_ <= '2021-03-31' INTO :_lx_atExe1
 - original query: SELECT vo.date_, vo.type_, vo.state, vor.voucher_id, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id FROM voucher_row vor
 LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id
 LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id
 WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-12' AND vo.date_ <= '2021-03-31'
 ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number
 INTO :_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_atExe1,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13
'
 	10.2.2022 	10:38:09 	_lx_ExecuteSqlNew 	(5. palvelin)

4d execute sql error -1: Sql field error, field 1 is not same as table / fields: 5 / vo.date_,vo.type_,vo.state,vor.voucher_id,vor.row_number,vor.account_id,ac.name,vor.debet,vor.kredit,vo.reference,vor.explanation,vo.info,vor.invoice_id,vor.invoice_payment_id,vor.accounts_payable_id,vor.accounts_payable_paym_id,vor.firm_id,vor.info,vor.change_id,vor.record_id, sql:
	SELECT vo.date_, vo.type_, vo.state, vor.voucher_id, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id
 FROM voucher_row vor
 LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id
 LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id
 WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-12' AND vo.date_ <= '2021-03-31'
 ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number
 INTO :_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_atExe1,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13

Error 0, Table 'VO' is not declared in the FROM clause. (SQLS 1103)
Failed to validate column 'DATE_'. (SQLS 1717)
Failed to validate COMPARISON predicate. (SQLS 1708)
Failed to validate WHERE clause. (SQLS 1705)
Failed to validate SELECT command. (SQLS 1726)
Table 'VO' is not declared in the FROM clause.Failed to validate SELECT command. (SQLS 1103)

SELECT vor.record_id FROM voucher_row vor WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-12' AND vo.date_ <= '2021-03-31' INTO :_lx_atExe1
 - original query: SELECT vo.date_, vo.type_, vo.state, vor.voucher_id, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id FROM voucher_row vor
 LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id
 LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id
 WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-12' AND vo.date_ <= '2021-03-31'
 ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number
 INTO :_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_atExe1,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13. 	10.2.2022 	10:38:09 	_lx_SERVER 	(5. palvelin)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 1 492 bytes ***. 	10.2.2022 	10:41:26 	lx 	(5. palvelin)

closing socket '77'. 	10.2.2022 	10:41:26 	lx 	(5. palvelin)

*** tcp close for sock 77, type 'nil', protocol 'nil', reason: 'POLLHUP', request length: (no request) bytes ***. 	10.2.2022 	11:48:51 	lx 	(5. palvelin)

closing socket '77'. 	10.2.2022 	11:48:51 	lx 	(5. palvelin)

*** tcp close for sock 77, type 'nil', protocol 'nil', reason: 'POLLHUP', request length: (no request) bytes ***. 	10.2.2022 	11:49:42 	lx 	(5. palvelin)

closing socket '77'. 	10.2.2022 	11:49:42 	lx 	(5. palvelin)

*** tcp close for sock 77, type 'nil', protocol 'nil', reason: 'POLLHUP', request length: (no request) bytes ***. 	10.2.2022 	11:50:57 	lx 	(5. palvelin)

closing socket '77'. 	10.2.2022 	11:50:57 	lx 	(5. palvelin)

*** tcp close for sock 77, type 'nil', protocol 'nil', reason: 'POLLHUP', request length: (no request) bytes ***. 	10.2.2022 	11:51:23 	lx 	(5. palvelin)

closing socket '77'. 	10.2.2022 	11:51:23 	lx 	(5. palvelin)

*** tcp close for sock 77, type 'nil', protocol 'nil', reason: 'POLLHUP', request length: (no request) bytes ***. 	10.2.2022 	11:52:32 	lx 	(5. palvelin)

closing socket '77'. 	10.2.2022 	11:52:32 	lx 	(5. palvelin)

*** tcp close for sock 77, type 'nil', protocol 'nil', reason: 'POLLHUP', request length: (no request) bytes ***. 	10.2.2022 	11:55:46 	lx 	(5. palvelin)

closing socket '77'. 	10.2.2022 	11:55:46 	lx 	(5. palvelin)

Sql field error, field 1 is not same as table / fields: 5 / vo.date_,vo.type_,vo.state,vor.voucher_id,vor.row_number,vor.account_id,ac.name,vor.debet,vor.kredit,vo.reference,vor.explanation,vo.info,vor.invoice_id,vor.invoice_payment_id,vor.accounts_payable_id,vor.accounts_payable_paym_id,vor.firm_id,vor.info,vor.change_id,vor.record_id, sql:
	SELECT vo.date_, vo.type_, vo.state, vor.voucher_id, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id
 FROM voucher_row vor
 LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id
 LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id
 WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-12' AND vo.date_ <= '2021-03-31'
 ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number
 INTO :_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_atExe1,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13
 	10.2.2022 	11:55:52 	_lx_ExecuteSqlNew 	(5. palvelin)

SELECT vor.record_id FROM voucher_row vor WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-12' AND vo.date_ <= '2021-03-31' INTO :_lx_atExe1
 - original query: SELECT vo.date_, vo.type_, vo.state, vor.voucher_id, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id FROM voucher_row vor  LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id  LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id  WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-12' AND vo.date_ <= '2021-03-31'  ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number  INTO :_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_atExe1,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13
 - result _lx_atExe1 size: 0
 - query name: new:form/nc/nc-bank/query-voucher_row.json. 	10.2.2022 	11:55:52 	_lx_ExecuteSqlNew 	(5. palvelin)

sql: Error 0, Table 'VO' is not declared in the FROM clause. (SQLS 1103)
Failed to validate column 'DATE_'. (SQLS 1717)
Failed to validate COMPARISON predicate. (SQLS 1708)
Failed to validate WHERE clause. (SQLS 1705)
Failed to validate SELECT command. (SQLS 1726)
Table 'VO' is not declared in the FROM clause.Failed to validate SELECT command. (SQLS 1103)

SELECT vor.record_id FROM voucher_row vor WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-12' AND vo.date_ <= '2021-03-31' INTO :_lx_atExe1
 - original query: SELECT vo.date_, vo.type_, vo.state, vor.voucher_id, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id FROM voucher_row vor
 LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id
 LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id
 WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-12' AND vo.date_ <= '2021-03-31'
 ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number
 INTO :_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_atExe1,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13
'
SELECT vor.record_id FROM voucher_row vor WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-12' AND vo.date_ <= '2021-03-31' INTO :_lx_atExe1
 - original query: SELECT vo.date_, vo.type_, vo.state, vor.voucher_id, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id FROM voucher_row vor
 LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id
 LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id
 WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-12' AND vo.date_ <= '2021-03-31'
 ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number
 INTO :_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_atExe1,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13
'
 	10.2.2022 	11:55:52 	_lx_ExecuteSqlNew 	(5. palvelin)

*** tcp close for sock 72, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	10.2.2022 	11:56:59 	lx 	(5. palvelin)

closing socket '72'. 	10.2.2022 	11:56:59 	lx 	(5. palvelin)

*** tcp close for sock 73, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	10.2.2022 	11:56:59 	lx 	(5. palvelin)

closing socket '73'. 	10.2.2022 	11:56:59 	lx 	(5. palvelin)

 -- Server statistics --
answerCount:          4
poll.fd_count:        1
pollCount:            209264
pollInCount:          12
pollOutCount:         0
pollCloseCount:       7
pollErrCount:         0
fd add/remove count:  10/9
totalBytesReceived:   4842
totalBytesSent:       84258. 	10.2.2022 	11:56:59 	lx 	(5. palvelin)

warning: socket type 'number' is not a table, socket number: 77
. 	10.2.2022 	11:56:59 	lx 	(5. palvelin)

closing socket '77'. 	10.2.2022 	11:56:59 	lx 	(5. palvelin)

poll.expand_fds, free old fds: cdata<struct pollfd *>: 0x012f22cdd0. 	10.2.2022 	11:56:59 	lx 	(5. palvelin)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x012f22cdd0, size: 400. 	10.2.2022 	11:56:59 	lx 	(5. palvelin)

--- server stopped ---. 	10.2.2022 	11:56:59 	lx 	(5. palvelin)

finalizer: free p1 	 cdata<void *>: 0x012f22cdd0. 	10.2.2022 	11:56:59 	lx 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	10.2.2022 	11:57:17 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	11:57:17 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	11:57:17 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	10.2.2022 	11:57:17 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	10.2.2022 	11:57:17 	lx 	(1. Application process)

  database connect time: 0.0003 seconds. 	10.2.2022 	11:57:17 	lx 	(1. Application process)

* connect: connection changed to 'postgre-demo/fi_demo'. 	10.2.2022 	11:57:17 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	10.2.2022 	11:57:17 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	11:57:17 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	11:57:17 	lx 	(1. Application process)

* preference 'system/nc_server_start.json' was loaded from database 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	10.2.2022 	11:57:17 	lx 	(1. Application process)

Käynnisteään Tcp palvelin 2. 	10.2.2022 	11:57:17 	_lx_SERVER 	(4. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

  database connect time: 0.0003 seconds. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

* connect: connection changed to 'postgre-demo/fi_demo'. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x016062cce0, size: 400. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

********************* /Users/pasi/nc/nc-server/ *********************. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

1. Loading plugin: nc/worker/auth_worker. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

2. Loading plugin: nc/worker/query_worker. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

3. Loading plugin: nc/worker/query4d_worker. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

4. Loading plugin: nc/worker/call4d_worker. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

All plugins have been loaded. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

* cached preference files: demo-fi_demo-0 - table/prf/field_type.json, demo-fi_demo-0 - system/option.json, demo-fi_demo-0 - system/path.json, demo-fi_demo-0 - system/4d.json. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

Mac address: f84d896921dc. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

NC tcp server waiting on:  http://127.0.0.1:5949/,  http://192.168.32.2:5949/
                          https://127.0.0.1:5949/, https://192.168.32.2:5949/. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

NC udp server waiting on: 127.0.0.1:5949/, 192.168.32.2:5949/. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

--- server started in 0.0014 seconds, 2022-02-10 11:57:19, used memory 3154.6 kb --- 	 5. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	10.2.2022 	11:57:19 	lx 	(4. palvelin)

*** tcp close for sock 87, type 'nil', protocol 'nil', reason: 'POLLHUP', request length: (no request) bytes ***. 	10.2.2022 	12:01:09 	lx 	(4. palvelin)

closing socket '87'. 	10.2.2022 	12:01:09 	lx 	(4. palvelin)

1. uri: HTTP, POST '/rest/nc/query/sql4d' 2022-02-10 12:01:13
'POST /rest/nc/query/sql4d HTTP/1.1
Content-Type: application/json
Connection: keep-alive
User-Agent: nc-rest-sql
Authorization: Basic ???
Content-Encoding: lz4
Accept-Encoding: lz4
Content-Length: 1200
Content-Uncompressed-Length: 2071

LZ4. 	10.2.2022 	12:01:13 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	10.2.2022 	12:01:13 	lx 	(4. palvelin)

    Connected to: 'Manageri v12 plg4d local, , database: plg4d, user: manage_demo'. 	10.2.2022 	12:01:13 	lx 	(4. palvelin)

  database connect time: 0.0002 seconds. 	10.2.2022 	12:01:13 	lx 	(4. palvelin)

* connect: connection changed from 'postgre-demo/fi_demo' to 'plg4d/plg4d'. 	10.2.2022 	12:01:13 	lx 	(4. palvelin)

Sql field error, field 1 is not same as table / fields: 5 / vo.date_,vo.type_,vo.state,vor.voucher_id,vor.row_number,vor.account_id,ac.name,vor.debet,vor.kredit,vo.reference,vor.explanation,vo.info,vor.invoice_id,vor.invoice_payment_id,vor.accounts_payable_id,vor.accounts_payable_paym_id,vor.firm_id,vor.info,vor.change_id,vor.record_id, sql:
	SELECT vo.date_, vo.type_, vo.state, vor.voucher_id, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id
 FROM voucher_row vor
 LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id
 LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id
 WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30'
 ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number
 INTO :_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_atExe1,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13
 	10.2.2022 	12:01:13 	_lx_ExecuteSqlNew 	(4. palvelin)

finalizer: free p1 	 cdata<void *>: 0x016062cce0. 	10.2.2022 	12:04:16 	lx 	(4. palvelin)

Tcp palvelin 2 on jo käynnissä. 	10.2.2022 	12:04:32 	_lx_SERVER 	(4. tbl_ 7)

Käynnisteään Tcp palvelin 2. 	10.2.2022 	12:04:32 	_lx_SERVER 	(9. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

  database connect time: 0.0004 seconds. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

* connect: connection changed to 'postgre-demo/fi_demo'. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x017e2a9d20, size: 400. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

********************* /Users/pasi/nc/nc-server/ *********************. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

1. Loading plugin: nc/worker/auth_worker. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

2. Loading plugin: nc/worker/query_worker. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

3. Loading plugin: nc/worker/query4d_worker. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

4. Loading plugin: nc/worker/call4d_worker. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

All plugins have been loaded. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

* cached preference files: demo-fi_demo-0 - system/4d.json, demo-fi_demo-0 - system/path.json, demo-fi_demo-0 - table/prf/field_type.json, demo-fi_demo-0 - system/option.json. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

Mac address: f84d896921dc. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

closing socket '89'. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

error:    SOCKET ERROR: listen_socket:bind for port 5949 failed with error: (-1) Unknown error: -1
  [stack traceback:
	/Users/pasi/nc/nc-server/lib/util.lua:572: in function 'printError'
	/Users/pasi/nc/nc-server/lib/net_socket.lua:195: in function 'cleanup'
	/Users/pasi/nc/nc-server/lib/lib_tcp.lua:779: in function 'listen'
	/Users/pasi/nc/nc-server/lib/server.lua:460: in function 'serverRun'
	/Users/pasi/nc/nc-server/nc/nc-server.lua:145: in function 'server'
	/Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:144: in function </Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:129>
	[C]: in function 'pcall'
	/Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:66: in function </Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:18>]
. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

***  there is another instance of this program or some other program using the port 5949  ***  . 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

error: server has not been started - quit-lx-server. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

error:    SOCKET ERROR: listen_socket:bind for port 5949 failed with error: (-1) Unknown error: -1
  [stack traceback:
	/Users/pasi/nc/nc-server/lib/util.lua:572: in function 'printError'
	/Users/pasi/nc/nc-server/lib/net_socket.lua:195: in function 'cleanup'
	/Users/pasi/nc/nc-server/lib/lib_tcp.lua:779: in function 'listen'
	/Users/pasi/nc/nc-server/lib/server.lua:460: in function 'serverRun'
	/Users/pasi/nc/nc-server/nc/nc-server.lua:145: in function 'server'
	/Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:144: in function </Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:129>
	[C]: in function 'pcall'
	/Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:66: in function </Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:18>]. 	10.2.2022 	12:04:34 	_lx_SERVER 	(9. palvelin)

error: server has not been started - quit-lx-server. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

error: server has not been started - quit-lx-server. 	10.2.2022 	12:04:34 	_lx_SERVER 	(9. palvelin)

warning: -*-ERR: close socket is nil
. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

warning: -*-ERR: close socket is nil
. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

 -- Server statistics --
answerCount:          0
poll.fd_count:        0
pollCount:            0
pollInCount:          0
pollOutCount:         0
pollCloseCount:       0
pollErrCount:         0
fd add/remove count:  0/0
totalBytesReceived:   0
totalBytesSent:       0. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

--- server stopped ---. 	10.2.2022 	12:04:34 	lx 	(9. palvelin)

finalizer: free p1 	 cdata<void *>: 0x017e2a9d20. 	10.2.2022 	12:04:36 	lx 	(9. palvelin)

Tcp palvelin 2 sammutettu. 	10.2.2022 	12:04:36 	_lx_SERVER 	(9. palvelin)

Tcp palvelin 2 ei ole käynnissä. 	10.2.2022 	12:04:37 	_lx_SERVER 	(4. tbl_ 7)

Käynnisteään Tcp palvelin 2. 	10.2.2022 	12:04:44 	_lx_SERVER 	(9. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

  database connect time: 0.0002 seconds. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

* connect: connection changed to 'postgre-demo/fi_demo'. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x017d0bfa90, size: 400. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

********************* /Users/pasi/nc/nc-server/ *********************. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

1. Loading plugin: nc/worker/auth_worker. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

2. Loading plugin: nc/worker/query_worker. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

3. Loading plugin: nc/worker/query4d_worker. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

4. Loading plugin: nc/worker/call4d_worker. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

All plugins have been loaded. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

* cached preference files: demo-fi_demo-0 - system/4d.json, demo-fi_demo-0 - table/prf/field_type.json, demo-fi_demo-0 - system/option.json, demo-fi_demo-0 - system/path.json. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

Mac address: f84d896921dc. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

closing socket '90'. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

error:    SOCKET ERROR: listen_socket:bind for port 5949 failed with error: (-1) Unknown error: -1
  [stack traceback:
	/Users/pasi/nc/nc-server/lib/util.lua:572: in function 'printError'
	/Users/pasi/nc/nc-server/lib/net_socket.lua:195: in function 'cleanup'
	/Users/pasi/nc/nc-server/lib/lib_tcp.lua:779: in function 'listen'
	/Users/pasi/nc/nc-server/lib/server.lua:460: in function 'serverRun'
	/Users/pasi/nc/nc-server/nc/nc-server.lua:145: in function 'server'
	/Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:144: in function </Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:129>
	[C]: in function 'pcall'
	/Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:66: in function </Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:18>]
. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

***  there is another instance of this program or some other program using the port 5949  ***  . 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

error: server has not been started - quit-lx-server. 	10.2.2022 	12:04:45 	lx 	(9. palvelin)

error:    SOCKET ERROR: listen_socket:bind for port 5949 failed with error: (-1) Unknown error: -1
  [stack traceback:
	/Users/pasi/nc/nc-server/lib/util.lua:572: in function 'printError'
	/Users/pasi/nc/nc-server/lib/net_socket.lua:195: in function 'cleanup'
	/Users/pasi/nc/nc-server/lib/lib_tcp.lua:779: in function 'listen'
	/Users/pasi/nc/nc-server/lib/server.lua:460: in function 'serverRun'
	/Users/pasi/nc/nc-server/nc/nc-server.lua:145: in function 'server'
	/Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:144: in function </Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:129>
	[C]: in function 'pcall'
	/Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:66: in function </Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:18>]. 	10.2.2022 	12:04:45 	_lx_SERVER 	(9. palvelin)

error: server has not been started - quit-lx-server. 	10.2.2022 	12:04:46 	lx 	(9. palvelin)

error: server has not been started - quit-lx-server. 	10.2.2022 	12:04:46 	_lx_SERVER 	(9. palvelin)

warning: -*-ERR: close socket is nil
. 	10.2.2022 	12:04:46 	lx 	(9. palvelin)

warning: -*-ERR: close socket is nil
. 	10.2.2022 	12:04:46 	lx 	(9. palvelin)

 -- Server statistics --
answerCount:          0
poll.fd_count:        0
pollCount:            0
pollInCount:          0
pollOutCount:         0
pollCloseCount:       0
pollErrCount:         0
fd add/remove count:  0/0
totalBytesReceived:   0
totalBytesSent:       0. 	10.2.2022 	12:04:46 	lx 	(9. palvelin)

--- server stopped ---. 	10.2.2022 	12:04:46 	lx 	(9. palvelin)

finalizer: free p1 	 cdata<void *>: 0x017d0bfa90. 	10.2.2022 	12:04:47 	lx 	(9. palvelin)

Tcp palvelin 2 sammutettu. 	10.2.2022 	12:04:47 	_lx_SERVER 	(9. palvelin)

Tcp palvelin 2 ei ole käynnissä. 	10.2.2022 	12:04:51 	_lx_SERVER 	(4. tbl_ 7)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	10.2.2022 	12:05:10 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	12:05:10 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	12:05:10 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	10.2.2022 	12:05:10 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	10.2.2022 	12:05:10 	lx 	(1. Application process)

  database connect time: 0.0003 seconds. 	10.2.2022 	12:05:10 	lx 	(1. Application process)

* connect: connection changed to 'postgre-demo/fi_demo'. 	10.2.2022 	12:05:10 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	10.2.2022 	12:05:10 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	12:05:10 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	12:05:10 	lx 	(1. Application process)

* preference 'system/nc_server_start.json' was loaded from database 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	10.2.2022 	12:05:10 	lx 	(1. Application process)

Käynnisteään Tcp palvelin 2. 	10.2.2022 	12:05:10 	_lx_SERVER 	(4. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

  database connect time: 0.0003 seconds. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

* connect: connection changed to 'postgre-demo/fi_demo'. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x0130e88490, size: 400. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

********************* /Users/pasi/nc/nc-server/ *********************. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

1. Loading plugin: nc/worker/auth_worker. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

2. Loading plugin: nc/worker/query_worker. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

3. Loading plugin: nc/worker/query4d_worker. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

4. Loading plugin: nc/worker/call4d_worker. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

All plugins have been loaded. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

* cached preference files: demo-fi_demo-0 - system/4d.json, demo-fi_demo-0 - table/prf/field_type.json, demo-fi_demo-0 - system/option.json, demo-fi_demo-0 - system/path.json. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

Mac address: f84d896921dc. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

NC tcp server waiting on:  http://127.0.0.1:5949/,  http://192.168.32.2:5949/
                          https://127.0.0.1:5949/, https://192.168.32.2:5949/. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

NC udp server waiting on: 127.0.0.1:5949/, 192.168.32.2:5949/. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

--- server started in 0.0008 seconds, 2022-02-10 12:05:12, used memory 3202.5 kb --- 	 5. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	10.2.2022 	12:05:12 	lx 	(4. palvelin)

1. uri: HTTP, POST '/rest/nc/query/sql4d' 2022-02-10 12:05:21
'POST /rest/nc/query/sql4d HTTP/1.1
Content-Type: application/json
Connection: keep-alive
User-Agent: nc-rest-sql
Authorization: Basic ???
Content-Encoding: lz4
Accept-Encoding: lz4
Content-Length: 1200
Content-Uncompressed-Length: 2071

LZ4. 	10.2.2022 	12:05:21 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	10.2.2022 	12:05:21 	lx 	(4. palvelin)

    Connected to: 'Manageri v12 plg4d local, , database: plg4d, user: manage_demo'. 	10.2.2022 	12:05:21 	lx 	(4. palvelin)

  database connect time: 0.0001 seconds. 	10.2.2022 	12:05:21 	lx 	(4. palvelin)

* connect: connection changed from 'postgre-demo/fi_demo' to 'plg4d/plg4d'. 	10.2.2022 	12:05:21 	lx 	(4. palvelin)

Sql field error, field 1 is not same as table / fields: 5 / vo.date_,vo.type_,vo.state,vor.voucher_id,vor.row_number,vor.account_id,ac.name,vor.debet,vor.kredit,vo.reference,vor.explanation,vo.info,vor.invoice_id,vor.invoice_payment_id,vor.accounts_payable_id,vor.accounts_payable_paym_id,vor.firm_id,vor.info,vor.change_id,vor.record_id, sql:
	SELECT vo.date_, vo.type_, vo.state, vor.voucher_id, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id
 FROM voucher_row vor
 LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id
 LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id
 WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30'
 ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number
 INTO :_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_atExe1,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13
 	10.2.2022 	12:05:21 	_lx_ExecuteSqlNew 	(4. palvelin)

SELECT vor.record_id FROM voucher_row vor WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30' INTO :_lx_atExe1
 - original query: SELECT vo.date_, vo.type_, vo.state, vor.voucher_id, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id FROM voucher_row vor  LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id  LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id  WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30'  ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number  INTO :_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_atExe1,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13
 - result _lx_atExe1 size: 0
 - query name: new:form/nc/nc-bank/query-voucher_row.json. 	10.2.2022 	12:07:19 	_lx_ExecuteSqlNew 	(4. palvelin)

sql: Error 0, Table 'VO' is not declared in the FROM clause. (SQLS 1103)
Failed to validate column 'DATE_'. (SQLS 1717)
Failed to validate COMPARISON predicate. (SQLS 1708)
Failed to validate WHERE clause. (SQLS 1705)
Failed to validate SELECT command. (SQLS 1726)
Table 'VO' is not declared in the FROM clause.Failed to validate SELECT command. (SQLS 1103)

SELECT vor.record_id FROM voucher_row vor WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30' INTO :_lx_atExe1
 - original query: SELECT vo.date_, vo.type_, vo.state, vor.voucher_id, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id FROM voucher_row vor
 LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id
 LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id
 WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30'
 ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number
 INTO :_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_atExe1,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13
'
SELECT vor.record_id FROM voucher_row vor WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30' INTO :_lx_atExe1
 - original query: SELECT vo.date_, vo.type_, vo.state, vor.voucher_id, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id FROM voucher_row vor
 LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id
 LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id
 WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30'
 ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number
 INTO :_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_atExe1,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13
'
 	10.2.2022 	12:07:19 	_lx_ExecuteSqlNew 	(4. palvelin)

 1. answer time: 00:00:02.84759
  
SELECT vo.date_, vo.type_, vo.state, vor.voucher_id, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id
 FROM voucher_row vor
 LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id
 LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id
 WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30'
 ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number. 	10.2.2022 	12:07:19 	lx 	(4. palvelin)

4d execute sql error -1: Sql field error, field 1 is not same as table / fields: 5 / vo.date_,vo.type_,vo.state,vor.voucher_id,vor.row_number,vor.account_id,ac.name,vor.debet,vor.kredit,vo.reference,vor.explanation,vo.info,vor.invoice_id,vor.invoice_payment_id,vor.accounts_payable_id,vor.accounts_payable_paym_id,vor.firm_id,vor.info,vor.change_id,vor.record_id, sql:
	SELECT vo.date_, vo.type_, vo.state, vor.voucher_id, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id
 FROM voucher_row vor
 LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id
 LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id
 WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30'
 ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number
 INTO :_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_atExe1,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13

Error 0, Table 'VO' is not declared in the FROM clause. (SQLS 1103)
Failed to validate column 'DATE_'. (SQLS 1717)
Failed to validate COMPARISON predicate. (SQLS 1708)
Failed to validate WHERE clause. (SQLS 1705)
Failed to validate SELECT command. (SQLS 1726)
Table 'VO' is not declared in the FROM clause.Failed to validate SELECT command. (SQLS 1103)

SELECT vor.record_id FROM voucher_row vor WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30' INTO :_lx_atExe1
 - original query: SELECT vo.date_, vo.type_, vo.state, vor.voucher_id, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id FROM voucher_row vor
 LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id
 LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id
 WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30'
 ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number
 INTO :_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_atExe1,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13. 	10.2.2022 	12:07:19 	_lx_SERVER 	(4. palvelin)

Sql field error, field 1 is not same as table / fields: 5 / vo.date_,vo.type_,vo.state,vor.voucher_id,vor.row_number,vor.account_id,ac.name,vor.debet,vor.kredit,vo.reference,vor.explanation,vo.info,vor.invoice_id,vor.invoice_payment_id,vor.accounts_payable_id,vor.accounts_payable_paym_id,vor.firm_id,vor.info,vor.change_id,vor.record_id, sql:
	SELECT vo.date_, vo.type_, vo.state, vor.voucher_id, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id
 FROM voucher_row vor
 LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id
 LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id
 WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30'
 ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number
 INTO :_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_atExe1,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13
 	10.2.2022 	12:08:55 	_lx_ExecuteSqlNew 	(4. palvelin)

4D: SELECT vor.record_id FROM voucher_row vor LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30' INTO :_lx_atExe1
 - original query: SELECT vo.date_, vo.type_, vo.state, vor.voucher_id, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id FROM voucher_row vor  LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id  LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id  WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30'  ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number  INTO :_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_atExe1,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13
 - result _lx_atExe1 size: 0
 - query name: new:form/nc/nc-bank/query-voucher_row.json. 	10.2.2022 	12:09:36 	_lx_ExecuteSqlNew 	(4. palvelin)

4d execute sql error -1: Sql field error, field 1 is not same as table / fields: 5 / vo.date_,vo.type_,vo.state,vor.voucher_id,vor.row_number,vor.account_id,ac.name,vor.debet,vor.kredit,vo.reference,vor.explanation,vo.info,vor.invoice_id,vor.invoice_payment_id,vor.accounts_payable_id,vor.accounts_payable_paym_id,vor.firm_id,vor.info,vor.change_id,vor.record_id, sql:
	SELECT vo.date_, vo.type_, vo.state, vor.voucher_id, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id
 FROM voucher_row vor
 LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id
 LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id
 WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30'
 ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number
 INTO :_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_atExe1,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13


SELECT vor.record_id FROM voucher_row vor LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30' INTO :_lx_atExe1
 - original query: SELECT vo.date_, vo.type_, vo.state, vor.voucher_id, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id FROM voucher_row vor
 LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id
 LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id
 WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30'
 ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number
 INTO :_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_atExe1,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13. 	10.2.2022 	12:09:36 	_lx_SERVER 	(4. palvelin)

Sql field error, field 1 is not same as table / fields: 5 / vo.date_,vo.type_,vo.state,vor.voucher_id,vor.row_number,vor.account_id,ac.name,vor.debet,vor.kredit,vo.reference,vor.explanation,vo.info,vor.invoice_id,vor.invoice_payment_id,vor.accounts_payable_id,vor.accounts_payable_paym_id,vor.firm_id,vor.info,vor.change_id,vor.record_id, sql:
	SELECT vo.date_, vo.type_, vo.state, vor.voucher_id, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id
 FROM voucher_row vor
 LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id
 LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id
 WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30'
 ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number
 INTO :_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_atExe1,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13
 	10.2.2022 	12:09:40 	_lx_ExecuteSqlNew 	(4. palvelin)

4D: SELECT vor.record_id FROM voucher_row vor LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30' INTO :_lx_atExe1
 - original query: SELECT vo.date_, vo.type_, vo.state, vor.voucher_id, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id FROM voucher_row vor  LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id  LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id  WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30'  ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number  INTO :_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_atExe1,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13
 - result _lx_atExe1 size: 0
 - query name: new:form/nc/nc-bank/query-voucher_row.json. 	10.2.2022 	12:09:46 	_lx_ExecuteSqlNew 	(4. palvelin)

4D: SELECT vor.record_id FROM voucher_row vor LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-12' AND vo.date_ <= '2021-03-31' INTO :_lx_atExe1
 - original query: SELECT vor.voucher_id, vo.date_, vo.type_, vo.state, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id FROM voucher_row vor  LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id  LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id  WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-12' AND vo.date_ <= '2021-03-31'  ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number  INTO :_lx_atExe1,:_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13
 - result _lx_atExe1 size: 424, first value: '200182'
 - query name: new:form/nc/nc-bank/query-voucher_row.json. 	10.2.2022 	12:12:21 	_lx_ExecuteSqlNew 	(4. palvelin)

4D: SELECT vor.record_id FROM voucher_row vor LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30' INTO :_lx_atExe1
 - original query: SELECT vor.voucher_id, vo.date_, vo.type_, vo.state, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id FROM voucher_row vor  LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id  LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id  WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30'  ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number  INTO :_lx_atExe1,:_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13
 - result _lx_atExe1 size: 424, first value: '200182'
 - query name: new:form/nc/nc-bank/query-voucher_row.json. 	10.2.2022 	12:12:57 	_lx_ExecuteSqlNew 	(4. palvelin)

*** tcp close for sock 72, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	10.2.2022 	12:17:20 	lx 	(4. palvelin)

closing socket '72'. 	10.2.2022 	12:17:20 	lx 	(4. palvelin)

*** tcp close for sock 73, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	10.2.2022 	12:17:20 	lx 	(4. palvelin)

closing socket '73'. 	10.2.2022 	12:17:20 	lx 	(4. palvelin)

 -- Server statistics --
answerCount:          5
poll.fd_count:        2
pollCount:            24688
pollInCount:          7
pollOutCount:         0
pollCloseCount:       0
pollErrCount:         0
fd add/remove count:  4/2
totalBytesReceived:   7378
totalBytesSent:       60938. 	10.2.2022 	12:17:20 	lx 	(4. palvelin)

warning: socket type 'number' is not a table, socket number: 78
. 	10.2.2022 	12:17:20 	lx 	(4. palvelin)

closing socket '78'. 	10.2.2022 	12:17:20 	lx 	(4. palvelin)

warning: socket type 'number' is not a table, socket number: 77
. 	10.2.2022 	12:17:20 	lx 	(4. palvelin)

closing socket '77'. 	10.2.2022 	12:17:20 	lx 	(4. palvelin)

poll.expand_fds, free old fds: cdata<struct pollfd *>: 0x0130e88490. 	10.2.2022 	12:17:20 	lx 	(4. palvelin)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x0130e88490, size: 400. 	10.2.2022 	12:17:20 	lx 	(4. palvelin)

--- server stopped ---. 	10.2.2022 	12:17:20 	lx 	(4. palvelin)

finalizer: free p1 	 cdata<void *>: 0x0130e88490. 	10.2.2022 	12:17:21 	lx 	(4. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	10.2.2022 	12:22:35 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	12:22:35 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	12:22:35 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	10.2.2022 	12:22:35 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	10.2.2022 	12:22:35 	lx 	(1. Application process)

  database connect time: 0.0007 seconds. 	10.2.2022 	12:22:35 	lx 	(1. Application process)

* connect: connection changed to 'postgre-demo/fi_demo'. 	10.2.2022 	12:22:35 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	10.2.2022 	12:22:35 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	12:22:35 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	12:22:35 	lx 	(1. Application process)

* preference 'system/nc_server_start.json' was loaded from database 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	10.2.2022 	12:22:35 	lx 	(1. Application process)

Käynnisteään Tcp palvelin 2. 	10.2.2022 	12:22:35 	_lx_SERVER 	(4. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

  database connect time: 0.0004 seconds. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

* connect: connection changed to 'postgre-demo/fi_demo'. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x0147f0af10, size: 400. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

********************* /Users/pasi/nc/nc-server/ *********************. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

1. Loading plugin: nc/worker/auth_worker. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

2. Loading plugin: nc/worker/query_worker. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

3. Loading plugin: nc/worker/query4d_worker. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

4. Loading plugin: nc/worker/call4d_worker. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

All plugins have been loaded. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

* cached preference files: demo-fi_demo-0 - system/4d.json, demo-fi_demo-0 - table/prf/field_type.json, demo-fi_demo-0 - system/path.json, demo-fi_demo-0 - system/option.json. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

Mac address: f84d896921dc. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

NC tcp server waiting on:  http://127.0.0.1:5949/,  http://192.168.32.2:5949/
                          https://127.0.0.1:5949/, https://192.168.32.2:5949/. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

NC udp server waiting on: 127.0.0.1:5949/, 192.168.32.2:5949/. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

--- server started in 0.0012 seconds, 2022-02-10 12:22:37, used memory 3241.4 kb --- 	 5. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	10.2.2022 	12:22:37 	lx 	(4. palvelin)

1. uri: HTTP, POST '/rest/nc/query/sql4d' 2022-02-10 12:22:45
'POST /rest/nc/query/sql4d HTTP/1.1
Content-Type: application/json
Connection: keep-alive
User-Agent: nc-rest-sql
Authorization: Basic ???
Content-Encoding: lz4
Accept-Encoding: lz4
Content-Length: 1209
Content-Uncompressed-Length: 2071

LZ4. 	10.2.2022 	12:22:45 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	10.2.2022 	12:22:45 	lx 	(4. palvelin)

    Connected to: 'Manageri v12 plg4d local, , database: plg4d, user: manage_demo'. 	10.2.2022 	12:22:46 	lx 	(4. palvelin)

  database connect time: 0.0001 seconds. 	10.2.2022 	12:22:46 	lx 	(4. palvelin)

* connect: connection changed from 'postgre-demo/fi_demo' to 'plg4d/plg4d'. 	10.2.2022 	12:22:46 	lx 	(4. palvelin)

4D: SELECT vor.record_id FROM voucher_row vor LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30' INTO :_lx_atExe1
 - original query: SELECT vor.voucher_id, vo.date_, vo.type_, vo.state, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id FROM voucher_row vor  LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id  LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id  WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30'  ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number  INTO :_lx_atExe1,:_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13
 - result _lx_atExe1 size: 424, first value: '200182'
 - query name: new:form/nc/nc-bank/query-voucher_row.json. 	10.2.2022 	12:22:46 	_lx_ExecuteSqlNew 	(4. palvelin)

 1. answer time: 00:00:00.00334
  
SELECT vor.voucher_id, vo.date_, vo.type_, vo.state, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id
 FROM voucher_row vor
 LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id
 LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id
 WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30'
 ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number. 	10.2.2022 	12:22:46 	lx 	(4. palvelin)

4D: SELECT vor.record_id FROM voucher_row vor LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30' INTO :_lx_atExe1
 - original query: SELECT vor.voucher_id, vo.date_, vo.type_, vo.state, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id FROM voucher_row vor  LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id  LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id  WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30'  ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number  INTO :_lx_atExe1,:_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13
 - result _lx_atExe1 size: 424, first value: '200182'
 - query name: new:form/nc/nc-bank/query-voucher_row.json. 	10.2.2022 	12:22:47 	_lx_ExecuteSqlNew 	(4. palvelin)

4D: SELECT vor.record_id FROM voucher_row vor LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30' INTO :_lx_atExe1
 - original query: SELECT vor.voucher_id, vo.date_, vo.type_, vo.state, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id FROM voucher_row vor  LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id  LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id  WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-11' AND vo.date_ <= '2021-03-30'  ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number  INTO :_lx_atExe1,:_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13
 - result _lx_atExe1 size: 424, first value: '200182'
 - query name: new:form/nc/nc-bank/query-voucher_row.json. 	10.2.2022 	12:22:50 	_lx_ExecuteSqlNew 	(4. palvelin)

4D: SELECT vor.record_id FROM voucher_row vor LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-12' AND vo.date_ <= '2021-03-31' INTO :_lx_atExe1
 - original query: SELECT vor.voucher_id, vo.date_, vo.type_, vo.state, vor.row_number, vor.account_id, ac.name, vor.debet, vor.kredit, vo.reference, vor.explanation, vo.info, vor.invoice_id, vor.invoice_payment_id, vor.accounts_payable_id, vor.accounts_payable_paym_id, vor.firm_id, vor.info, vor.change_id, vor.record_id FROM voucher_row vor  LEFT OUTER JOIN voucher vo ON vo.voucher_id = vor.voucher_id  LEFT OUTER JOIN account ac ON ac.account_id = vor.account_id  WHERE vor.account_id = '1910' AND vo.date_ >= '2019-03-12' AND vo.date_ <= '2021-03-31'  ORDER BY vo.date_, vo.type_ DESC, vor.voucher_id, vor.row_number  INTO :_lx_atExe1,:_lx_adExe1,:_lx_alExe1,:_lx_alExe2,:_lx_alExe3,:_lx_atExe2,:_lx_atExe3,:_lx_arExe1,:_lx_arExe2,:_lx_atExe4,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9,:_lx_atExe10,:_lx_alExe4,:_lx_atExe11,:_lx_atExe12,:_lx_atExe13
 - result _lx_atExe1 size: 424, first value: '200182'
 - query name: new:form/nc/nc-bank/query-voucher_row.json. 	10.2.2022 	12:23:08 	_lx_ExecuteSqlNew 	(4. palvelin)

Päivä on pienempi kuin alkupäivä. Koodi ID: _code_001_in_kInvoice_ID______. 	10.2.2022 	14:05:32 	_code Reserve 	(5. tbl_ 6)

Päivä on suurempi kuin alkupäivä. Koodi ID: _code_001_in_kInvoice_ID______. 	10.2.2022 	14:07:17 	_code Reserve 	(5. tbl_ 6)

Päivä on suurempi kuin alkupäivä. Koodi ID: _code_001_in_kInvoice_ID______. 	10.2.2022 	14:07:40 	_code Reserve 	(5. tbl_ 6)

Päivä on suurempi kuin alkupäivä. Koodi ID: _code_001_in_kInvoice_ID______. 	10.2.2022 	14:07:40 	_code Reserve 	(5. tbl_ 6)

Päivä on suurempi kuin alkupäivä. Koodi ID: _code_001_in_kInvoice_ID______. 	10.2.2022 	14:07:46 	_code Reserve 	(5. tbl_ 6)

Päivä on pienempi kuin alkupäivä. Koodi ID: _code_001_in_kInvoice_ID______. 	10.2.2022 	14:15:01 	_code Reserve 	(5. tbl_ 6)

Päivä on pienempi kuin alkupäivä. Koodi ID: _code_001_in_kInvoice_ID______. 	10.2.2022 	14:16:01 	_code Reserve 	(5. tbl_ 6)

Päivä on pienempi kuin alkupäivä. Koodi ID: _code_001_in_kInvoice_ID______. 	10.2.2022 	14:22:41 	_code Reserve 	(5. tbl_ 6)

Päivä on pienempi kuin alkupäivä. Koodi ID: _code_001_in_kInvoice_ID______. 	10.2.2022 	14:24:03 	_code Reserve 	(5. tbl_ 6)

Päivä on pienempi kuin alkupäivä. Koodi ID: _code_001_in_kInvoice_ID______. 	10.2.2022 	14:25:00 	_code Reserve 	(5. tbl_ 6)

Päivä on pienempi kuin alkupäivä. Koodi ID: _code_001_in_kInvoice_ID______. 	10.2.2022 	14:25:12 	_code Reserve 	(5. tbl_ 6)

Päivä on pienempi kuin alkupäivä. Koodi ID: _code_001_in_kInvoice_ID______. 	10.2.2022 	14:25:16 	_code Reserve 	(5. tbl_ 6)

Päivä on pienempi kuin alkupäivä. Koodi ID: _code_001_in_kInvoice_ID______. 	10.2.2022 	14:25:16 	_code Reserve 	(5. tbl_ 6)

Päivä on pienempi kuin alkupäivä. Koodi ID: _code_001_in_kInvoice_ID______. 	10.2.2022 	14:25:18 	_code Reserve 	(5. tbl_ 6)

Päivä on pienempi kuin alkupäivä. Koodi ID: _code_001_in_kInvoice_ID______. 	10.2.2022 	14:25:19 	_code Reserve 	(5. tbl_ 6)

Päivä on pienempi kuin alkupäivä. Koodi ID: _code_001_in_kInvoice_ID______. 	10.2.2022 	14:25:23 	_code Reserve 	(5. tbl_ 6)

Päivä on pienempi kuin alkupäivä. Koodi ID: _code_001_in_kInvoice_ID______. 	10.2.2022 	14:26:15 	_code Reserve 	(5. tbl_ 6)

Päivä on pienempi kuin alkupäivä. Koodi ID: _code_001_in_kInvoice_ID______. 	10.2.2022 	14:26:17 	_code Reserve 	(5. tbl_ 6)

Päivä on pienempi kuin alkupäivä. Koodi ID: _code_001_in_kInvoice_ID______. 	10.2.2022 	14:26:22 	_code Reserve 	(5. tbl_ 6)

Päivä on pienempi kuin alkupäivä. Koodi ID: _code_001_in_kInvoice_ID______. 	10.2.2022 	14:26:27 	_code Reserve 	(5. tbl_ 6)

Vastaanotetaan dokumenttia: TI2021-12-2_20220210-143541.KTO. 	10.2.2022 	14:35:41 	xml_RECEIVE 	(8. Tiliote)

*** tcp close for sock 72, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	10.2.2022 	14:35:57 	lx 	(4. palvelin)

closing socket '72'. 	10.2.2022 	14:35:57 	lx 	(4. palvelin)

*** tcp close for sock 73, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	10.2.2022 	14:35:57 	lx 	(4. palvelin)

closing socket '73'. 	10.2.2022 	14:35:57 	lx 	(4. palvelin)

 -- Server statistics --
answerCount:          4
poll.fd_count:        2
pollCount:            285472
pollInCount:          6
pollOutCount:         0
pollCloseCount:       0
pollErrCount:         0
fd add/remove count:  4/2
totalBytesReceived:   5926
totalBytesSent:       118649. 	10.2.2022 	14:35:57 	lx 	(4. palvelin)

warning: socket type 'number' is not a table, socket number: 78
. 	10.2.2022 	14:35:57 	lx 	(4. palvelin)

closing socket '78'. 	10.2.2022 	14:35:57 	lx 	(4. palvelin)

warning: socket type 'number' is not a table, socket number: 77
. 	10.2.2022 	14:35:57 	lx 	(4. palvelin)

closing socket '77'. 	10.2.2022 	14:35:57 	lx 	(4. palvelin)

poll.expand_fds, free old fds: cdata<struct pollfd *>: 0x0147f0af10. 	10.2.2022 	14:35:57 	lx 	(4. palvelin)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x0147f0af10, size: 400. 	10.2.2022 	14:35:57 	lx 	(4. palvelin)

--- server stopped ---. 	10.2.2022 	14:35:57 	lx 	(4. palvelin)

finalizer: free p1 	 cdata<void *>: 0x0147f0af10. 	10.2.2022 	14:35:57 	lx 	(4. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	10.2.2022 	14:36:14 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	14:36:14 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	14:36:14 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	10.2.2022 	14:36:14 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	10.2.2022 	14:36:14 	lx 	(1. Application process)

  database connect time: 0.0003 seconds. 	10.2.2022 	14:36:14 	lx 	(1. Application process)

* connect: connection changed to 'postgre-demo/fi_demo'. 	10.2.2022 	14:36:14 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	10.2.2022 	14:36:14 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	14:36:14 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	14:36:14 	lx 	(1. Application process)

* preference 'system/nc_server_start.json' was loaded from database 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	10.2.2022 	14:36:14 	lx 	(1. Application process)

Käynnisteään Tcp palvelin 2. 	10.2.2022 	14:36:14 	_lx_SERVER 	(4. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

  database connect time: 0.0003 seconds. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

* connect: connection changed to 'postgre-demo/fi_demo'. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x0121a0d7b0, size: 400. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

********************* /Users/pasi/nc/nc-server/ *********************. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

1. Loading plugin: nc/worker/auth_worker. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

2. Loading plugin: nc/worker/query_worker. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

3. Loading plugin: nc/worker/query4d_worker. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

4. Loading plugin: nc/worker/call4d_worker. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

All plugins have been loaded. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

* cached preference files: demo-fi_demo-0 - system/4d.json, demo-fi_demo-0 - system/path.json, demo-fi_demo-0 - system/option.json, demo-fi_demo-0 - table/prf/field_type.json. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

Mac address: f84d896921dc. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

NC tcp server waiting on:  http://127.0.0.1:5949/,  http://192.168.1.15:5949/
                          https://127.0.0.1:5949/, https://192.168.1.15:5949/. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

NC udp server waiting on: 127.0.0.1:5949/, 192.168.1.15:5949/. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

--- server started in 0.0013 seconds, 2022-02-10 14:36:16, used memory 3221.3 kb --- 	 5. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	10.2.2022 	14:36:16 	lx 	(4. palvelin)

Vastaanotetaan dokumenttia: TI2021-12-2_20220210-143725.KTO. 	10.2.2022 	14:37:25 	xml_RECEIVE 	(8. Tiliote)

Dokumentti vastaanotettiin onnistuneesti: TI2021-12-2_20220210-143725.KTO. 	10.2.2022 	14:37:26 	xml_RECEIVE 	(8. Tiliote)

Vastaanotetaan dokumenttia: TI2022-01_20220210-144134.KTO. 	10.2.2022 	14:41:34 	xml_RECEIVE 	(8. Tiliote)

Dokumentti vastaanotettiin onnistuneesti: TI2022-01_20220210-144134.KTO. 	10.2.2022 	14:41:37 	xml_RECEIVE 	(8. Tiliote)

Muuttujaa ei löytynyt taulukosta var: IN_QRY_CKA. 	10.2.2022 	14:48:02 	_qry_app_DATA 	(9. tbl_ 8)

Muuttujaa ei löytynyt taulukosta var: IN_QRY_CKA. 	10.2.2022 	14:48:02 	_qry_app_DATA 	(9. tbl_ 8)

Muuttujaa ei löytynyt taulukosta var: IN_QRY_CKA. 	10.2.2022 	14:48:02 	_qry_app_DATA 	(9. tbl_ 8)

Muuttujaa ei löytynyt taulukosta var: IN_QRY_CKA. 	10.2.2022 	14:49:03 	_qry_app_DATA 	(9. tbl_ 8)

Muuttujaa ei löytynyt taulukosta var: IN_QRY_CKA. 	10.2.2022 	14:49:03 	_qry_app_DATA 	(9. tbl_ 8)

Muuttujaa ei löytynyt taulukosta var: IN_QRY_CKA. 	10.2.2022 	14:49:03 	_qry_app_DATA 	(9. tbl_ 8)

Merkkiä ei laiteta epäselville. 	10.2.2022 	14:53:19 	 	(9. tbl_ 8)

SR Print Report error: -128. 	10.2.2022 	14:54:05 	_rep_P_SuperRepor_ 	(9. tbl_ 8)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA1. 	10.2.2022 	14:59:45 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA2. 	10.2.2022 	14:59:45 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA1. 	10.2.2022 	14:59:45 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA2. 	10.2.2022 	14:59:45 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA1. 	10.2.2022 	14:59:45 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA2. 	10.2.2022 	14:59:45 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA1. 	10.2.2022 	14:59:49 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA2. 	10.2.2022 	14:59:49 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA1. 	10.2.2022 	15:00:11 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA2. 	10.2.2022 	15:00:11 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA1. 	10.2.2022 	15:00:40 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA2. 	10.2.2022 	15:00:40 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA1. 	10.2.2022 	15:02:08 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA2. 	10.2.2022 	15:02:08 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA1. 	10.2.2022 	15:02:41 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA2. 	10.2.2022 	15:02:41 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA1. 	10.2.2022 	15:10:59 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA2. 	10.2.2022 	15:10:59 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA1. 	10.2.2022 	15:13:30 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA2. 	10.2.2022 	15:13:30 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA1. 	10.2.2022 	15:13:30 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA2. 	10.2.2022 	15:13:30 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA1. 	10.2.2022 	15:13:30 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA2. 	10.2.2022 	15:13:30 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA1. 	10.2.2022 	15:13:40 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA2. 	10.2.2022 	15:13:40 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA1. 	10.2.2022 	15:15:01 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: AP_QRY_DERA2. 	10.2.2022 	15:15:01 	_qry_app_DATA 	(10. tbl_ 9)

Muuttujaa ei löytynyt taulukosta var: IN_QRY_CKA. 	10.2.2022 	15:16:08 	_qry_app_DATA 	(11. tbl_ 10)

Muuttujaa ei löytynyt taulukosta var: IN_QRY_CKA. 	10.2.2022 	15:16:08 	_qry_app_DATA 	(11. tbl_ 10)

Muuttujaa ei löytynyt taulukosta var: IN_QRY_CKA. 	10.2.2022 	15:16:08 	_qry_app_DATA 	(11. tbl_ 10)

Päivä on pienempi kuin alkupäivä. Koodi ID: _code_001_in_kInvoice_ID______. 	10.2.2022 	15:16:10 	_code Reserve 	(11. tbl_ 10)

Muuttujaa ei löytynyt taulukosta var: IN_QRY_CKA. 	10.2.2022 	15:17:16 	_qry_app_DATA 	(11. tbl_ 10)

Muuttujaa ei löytynyt taulukosta var: IN_QRY_CKA. 	10.2.2022 	15:17:24 	_qry_app_DATA 	(11. tbl_ 10)

Päivä on suurempi kuin alkupäivä. Koodi ID: _code_001_in_kInvoice_ID______. 	10.2.2022 	15:27:54 	_code Reserve 	(13. tbl_ 13)

Päivä on suurempi kuin alkupäivä. Koodi ID: _code_001_in_kInvoice_ID______. 	10.2.2022 	15:30:42 	_code Reserve 	(13. tbl_ 13)

Aluetta ei löytynyt: 268435466. 	10.2.2022 	15:39:55 	_alp SEL_GET 	(8. Preference)

Aluetta ei löytynyt. 	10.2.2022 	15:39:55 	_alp ArrSize 	(8. Preference)

*** tcp close for sock 72, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	10.2.2022 	15:55:20 	lx 	(4. palvelin)

closing socket '72'. 	10.2.2022 	15:55:20 	lx 	(4. palvelin)

*** tcp close for sock 73, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	10.2.2022 	15:55:20 	lx 	(4. palvelin)

closing socket '73'. 	10.2.2022 	15:55:20 	lx 	(4. palvelin)

 -- Server statistics --
answerCount:          0
poll.fd_count:        0
pollCount:            206600
pollInCount:          0
pollOutCount:         0
pollCloseCount:       0
pollErrCount:         0
fd add/remove count:  2/2
totalBytesReceived:   0
totalBytesSent:       0. 	10.2.2022 	15:55:20 	lx 	(4. palvelin)

--- server stopped ---. 	10.2.2022 	15:55:20 	lx 	(4. palvelin)

finalizer: free p1 	 cdata<void *>: 0x0121a0d7b0. 	10.2.2022 	15:55:21 	lx 	(4. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	10.2.2022 	15:55:36 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	15:55:36 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	15:55:36 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	10.2.2022 	15:55:36 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	10.2.2022 	15:55:36 	lx 	(1. Application process)

  database connect time: 0.0004 seconds. 	10.2.2022 	15:55:36 	lx 	(1. Application process)

* connect: connection changed to 'postgre-demo/fi_demo'. 	10.2.2022 	15:55:36 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	10.2.2022 	15:55:36 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	15:55:36 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	15:55:36 	lx 	(1. Application process)

* preference 'system/nc_server_start.json' was loaded from database 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	10.2.2022 	15:55:36 	lx 	(1. Application process)

Käynnisteään Tcp palvelin 2. 	10.2.2022 	15:55:36 	_lx_SERVER 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

  database connect time: 0.0003 seconds. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

* connect: connection changed to 'postgre-demo/fi_demo'. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x011d2fea10, size: 400. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

********************* /Users/pasi/nc/nc-server/ *********************. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

1. Loading plugin: nc/worker/auth_worker. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

2. Loading plugin: nc/worker/query_worker. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

3. Loading plugin: nc/worker/query4d_worker. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

4. Loading plugin: nc/worker/call4d_worker. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

All plugins have been loaded. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

* cached preference files: demo-fi_demo-0 - table/prf/field_type.json, demo-fi_demo-0 - system/path.json, demo-fi_demo-0 - system/4d.json, demo-fi_demo-0 - system/option.json. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

Mac address: f84d896921dc. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

NC tcp server waiting on:  http://127.0.0.1:5949/,  http://192.168.1.15:5949/
                          https://127.0.0.1:5949/, https://192.168.1.15:5949/. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

NC udp server waiting on: 127.0.0.1:5949/, 192.168.1.15:5949/. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

--- server started in 0.0012 seconds, 2022-02-10 15:55:38, used memory 3233.1 kb --- 	 5. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	10.2.2022 	15:55:38 	lx 	(5. palvelin)

Loppupäivä on pienempi kuin alkupäivä: _code_001_vo_kVoucher_Number_9__________________. 	10.2.2022 	15:55:59 	_code Valid 	(9. Preference)

Aluetta ei löytynyt: 268435457. 	10.2.2022 	15:59:08 	_alp SEL_GET 	(9. Preference)

Aluetta ei löytynyt. 	10.2.2022 	15:59:08 	_alp ArrSize 	(9. Preference)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Tiliot2021:’ Tarkista XML asetukset. 	10.2.2022 	16:08:58 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:’ Tarkista XML asetukset. 	10.2.2022 	16:08:58 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:processed:’ Tarkista XML asetukset. 	10.2.2022 	16:08:58 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:error:’ Tarkista XML asetukset. 	10.2.2022 	16:08:58 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Tiliot2021:’ Tarkista XML asetukset. 	10.2.2022 	16:10:14 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:’ Tarkista XML asetukset. 	10.2.2022 	16:10:14 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:processed:’ Tarkista XML asetukset. 	10.2.2022 	16:10:14 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:error:’ Tarkista XML asetukset. 	10.2.2022 	16:10:14 	xml_FolderGet 	(10. Tiliote)

SR Print Report error: -128. 	10.2.2022 	16:11:15 	_rep_P_SuperRepor_ 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Tiliot2021:’ Tarkista XML asetukset. 	10.2.2022 	16:11:18 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:’ Tarkista XML asetukset. 	10.2.2022 	16:11:18 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:processed:’ Tarkista XML asetukset. 	10.2.2022 	16:11:18 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:error:’ Tarkista XML asetukset. 	10.2.2022 	16:11:18 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Tiliot2021:’ Tarkista XML asetukset. 	10.2.2022 	16:11:28 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:’ Tarkista XML asetukset. 	10.2.2022 	16:11:28 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:processed:’ Tarkista XML asetukset. 	10.2.2022 	16:11:28 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:error:’ Tarkista XML asetukset. 	10.2.2022 	16:11:28 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:’ Tarkista XML asetukset. 	10.2.2022 	16:12:08 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:processed:’ Tarkista XML asetukset. 	10.2.2022 	16:12:08 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:error:’ Tarkista XML asetukset. 	10.2.2022 	16:12:08 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:’ Tarkista XML asetukset. 	10.2.2022 	16:12:10 	xml_FolderGet 	(10. Tiliote)

Inbox lukukansiota ei löytynyt. 	10.2.2022 	16:12:11 	xml_lbReadDoc 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:’ Tarkista XML asetukset. 	10.2.2022 	16:12:11 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:processed:’ Tarkista XML asetukset. 	10.2.2022 	16:12:11 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:error:’ Tarkista XML asetukset. 	10.2.2022 	16:12:11 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:’ Tarkista XML asetukset. 	10.2.2022 	16:12:16 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:processed:’ Tarkista XML asetukset. 	10.2.2022 	16:12:16 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:error:’ Tarkista XML asetukset. 	10.2.2022 	16:12:16 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:’ Tarkista XML asetukset. 	10.2.2022 	16:12:17 	xml_FolderGet 	(10. Tiliote)

Inbox lukukansiota ei löytynyt. 	10.2.2022 	16:12:19 	xml_lbReadDoc 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:’ Tarkista XML asetukset. 	10.2.2022 	16:12:19 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:processed:’ Tarkista XML asetukset. 	10.2.2022 	16:12:19 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:error:’ Tarkista XML asetukset. 	10.2.2022 	16:12:19 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:’ Tarkista XML asetukset. 	10.2.2022 	16:12:23 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:processed:’ Tarkista XML asetukset. 	10.2.2022 	16:12:23 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:error:’ Tarkista XML asetukset. 	10.2.2022 	16:12:23 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:’ Tarkista XML asetukset. 	10.2.2022 	16:12:25 	xml_FolderGet 	(10. Tiliote)

Inbox lukukansiota ei löytynyt. 	10.2.2022 	16:12:28 	xml_lbReadDoc 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:’ Tarkista XML asetukset. 	10.2.2022 	16:12:28 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:processed:’ Tarkista XML asetukset. 	10.2.2022 	16:12:28 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:error:’ Tarkista XML asetukset. 	10.2.2022 	16:12:28 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:processed:’ Tarkista XML asetukset. 	10.2.2022 	16:13:32 	xml_FolderGet 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:processed:’ Tarkista XML asetukset. 	10.2.2022 	16:13:33 	xml_FolderGet 	(10. Tiliote)

Vastaanotetaan dokumenttia: TO_aineisto_ 2022-02-10_2022021. 	10.2.2022 	16:13:33 	xml_RECEIVE 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:processed:’ Tarkista XML asetukset. 	10.2.2022 	16:13:34 	xml_FolderGet 	(10. Tiliote)

Dokumentti vastaanotettiin onnistuneesti: TO_aineisto_ 2022-02-10_2022021. 	10.2.2022 	16:13:34 	xml_RECEIVE 	(10. Tiliote)

Kansiota ei löydy ’Mac:Users:pasi:Manage:capacic:tiliotteet:Read:processed:’ Tarkista XML asetukset. 	10.2.2022 	16:13:34 	xml_FolderGet 	(10. Tiliote)

Tiliä ei löytynyt. 	10.2.2022 	16:14:19 	 	(6. tbl_ 7)

Tiliä ei löytynyt. 	10.2.2022 	16:15:00 	 	(6. tbl_ 7)

Edellistä kirjoitustilaa ei ole olemassa taululle ’Ostoreskontra ’. 	10.2.2022 	16:18:37 	_tbl WRITE_STATE 	(12. tbl_ 11)

*** tcp close for sock 72, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	10.2.2022 	16:32:39 	lx 	(5. palvelin)

closing socket '72'. 	10.2.2022 	16:32:39 	lx 	(5. palvelin)

*** tcp close for sock 73, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	10.2.2022 	16:32:39 	lx 	(5. palvelin)

closing socket '73'. 	10.2.2022 	16:32:39 	lx 	(5. palvelin)

 -- Server statistics --
answerCount:          0
poll.fd_count:        0
pollCount:            96968
pollInCount:          0
pollOutCount:         0
pollCloseCount:       0
pollErrCount:         0
fd add/remove count:  2/2
totalBytesReceived:   0
totalBytesSent:       0. 	10.2.2022 	16:32:39 	lx 	(5. palvelin)

--- server stopped ---. 	10.2.2022 	16:32:39 	lx 	(5. palvelin)

finalizer: free p1 	 cdata<void *>: 0x011d2fea10. 	10.2.2022 	16:32:39 	lx 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	10.2.2022 	16:33:05 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	16:33:05 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	16:33:05 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	10.2.2022 	16:33:05 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	10.2.2022 	16:33:05 	lx 	(1. Application process)

  database connect time: 0.0004 seconds. 	10.2.2022 	16:33:05 	lx 	(1. Application process)

* connect: connection changed to 'postgre-demo/fi_demo'. 	10.2.2022 	16:33:05 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	10.2.2022 	16:33:05 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	16:33:05 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	16:33:05 	lx 	(1. Application process)

* preference 'system/nc_server_start.json' was loaded from database 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	10.2.2022 	16:33:05 	lx 	(1. Application process)

Käynnisteään Tcp palvelin 2. 	10.2.2022 	16:33:05 	_lx_SERVER 	(4. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

  database connect time: 0.0003 seconds. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

* connect: connection changed to 'postgre-demo/fi_demo'. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x01246f9d30, size: 400. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

********************* /Users/pasi/nc/nc-server/ *********************. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

1. Loading plugin: nc/worker/auth_worker. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

2. Loading plugin: nc/worker/query_worker. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

3. Loading plugin: nc/worker/query4d_worker. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

4. Loading plugin: nc/worker/call4d_worker. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

All plugins have been loaded. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

* cached preference files: demo-fi_demo-0 - system/4d.json, demo-fi_demo-0 - table/prf/field_type.json, demo-fi_demo-0 - system/path.json, demo-fi_demo-0 - system/option.json. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

Mac address: f84d896921dc. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

NC tcp server waiting on:  http://127.0.0.1:5949/,  http://192.168.1.15:5949/
                          https://127.0.0.1:5949/, https://192.168.1.15:5949/. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

NC udp server waiting on: 127.0.0.1:5949/, 192.168.1.15:5949/. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

--- server started in 0.0010 seconds, 2022-02-10 16:33:07, used memory 3238.4 kb --- 	 5. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	10.2.2022 	16:33:07 	lx 	(4. palvelin)

Myyntirivin päiväys on liian pieni: 00.00.0000, T171004/01, RÄÄ EYP H. 	10.2.2022 	16:35:32 	prnc_SaldoSorArrFill 	(8. Tuotetilannelaskenta)

Myyntirivin päiväys on liian pieni: 00.00.0000, T171005/01, RÄÄ EYP H. 	10.2.2022 	16:35:32 	prnc_SaldoSorArrFill 	(8. Tuotetilannelaskenta)

Myyntirivin päiväys on liian pieni: 00.00.0000, T171012/01, RÄÄ EYP H. 	10.2.2022 	16:35:32 	prnc_SaldoSorArrFill 	(8. Tuotetilannelaskenta)

Myyntirivin päiväys on liian pieni: 00.00.0000, T171004/01, RÄÄ EYP H. 	10.2.2022 	16:36:06 	prnc_SaldoSorArrFill 	(8. Tuotetilannelaskenta)

Myyntirivin päiväys on liian pieni: 00.00.0000, T171005/01, RÄÄ EYP H. 	10.2.2022 	16:36:06 	prnc_SaldoSorArrFill 	(8. Tuotetilannelaskenta)

Myyntirivin päiväys on liian pieni: 00.00.0000, T171012/01, RÄÄ EYP H. 	10.2.2022 	16:36:06 	prnc_SaldoSorArrFill 	(8. Tuotetilannelaskenta)

Päivä on pienempi kuin alkupäivä. Koodi ID: _code_001_vo_kVoucher_ID___. 	10.2.2022 	16:58:08 	_code Reserve 	(5. tbl_ 7)

Päivä on pienempi kuin alkupäivä. Koodi ID: _code_001_vo_kVoucher_Number_6,7___. 	10.2.2022 	16:58:08 	_code Reserve 	(5. tbl_ 7)

Created preference: output/query_field.json. 	10.2.2022 	17:23:47 	_prf_ FO_QRY_POP_TO_JSON 	(9. Output query pop to Json)

